# coding: utf-8
from sqlalchemy import Column, DateTime, Integer, String
from flask_sqlalchemy import SQLAlchemy


db = SQLAlchemy()


class ArticleComment(db.Model):
    __tablename__ = 'article_comment'

    article_commen_id = db.Column(db.String(50), primary_key=True)
    user_id = db.Column(db.String(50))
    column_id = db.Column(db.String(50))
    article_columnt_id = db.Column(db.String(15))
    commit_content = db.Column(db.String(50))
    commit_user_id = db.Column(db.String(50))
    commit_time = db.Column(db.DateTime)
    commit_ip = db.Column(db.String(50))
    delflage = db.Column(db.Integer)
    create_time = db.Column(db.DateTime)
    create_user = db.Column(db.String(200))
    update_time = db.Column(db.DateTime)
    update_user = db.Column(db.String(200))
